Skip to content

Allow passing custom headers for requests#5

Open
acoutts wants to merge 3 commits into
bazrafkan:masterfrom
bottlepay:platform-headers
Open

Allow passing custom headers for requests#5
acoutts wants to merge 3 commits into
bazrafkan:masterfrom
bottlepay:platform-headers

Conversation

@acoutts

@acoutts acoutts commented Jul 1, 2021

Copy link
Copy Markdown

Same deal from bazrafkan/google_place#27

Required to use platform-specific API keys where you must provide the following headers:

    final headers = <String, String>{
      if (defaultTargetPlatform == TargetPlatform.iOS)
        'x-ios-bundle-identifier': Env().bundleIdentifier, // com.my.app
      if (defaultTargetPlatform == TargetPlatform.android) ...{
        'x-android-package': Env().bundleIdentifier, // com.my.app
        'x-android-cert': Env().ANDROID_SIGNING_KEY_SHA1, // signing key used to build/publish the app
      }
    };

@acoutts

acoutts commented Jul 20, 2021

Copy link
Copy Markdown
Author

@bazrafkan any chance to review this please? Thanks.

@acoutts

acoutts commented Aug 4, 2021

Copy link
Copy Markdown
Author

Hello is there any update?

@acoutts

acoutts commented Sep 25, 2021

Copy link
Copy Markdown
Author

Hello is there any chance for this to be merged?

@acoutts

acoutts commented Sep 28, 2021

Copy link
Copy Markdown
Author

@bazrafkan

@acoutts

acoutts commented Dec 3, 2021

Copy link
Copy Markdown
Author

Hello?

@acoutts

acoutts commented Jan 28, 2022

Copy link
Copy Markdown
Author

Bumping again

@acoutts

acoutts commented Nov 10, 2022

Copy link
Copy Markdown
Author

bump

@acoutts

acoutts commented Dec 6, 2022

Copy link
Copy Markdown
Author

Hello?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant